var express = require('express');
var router = express.Router();
var User = require('../Controllers/UserController');

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});

router.get('/users',User.getUserList);
router.put('/updateUserStatus',User.updateUserStatus);
router.post('/addUser',User.addUser);
router.get('/queryUserById',User.queryUserById);
router.put('/updateUserMsg',User.updateUserMsg);
router.delete('/deleteUser',User.deleteUser);


module.exports = router;
